package mumethod;

import java.util.List;

import mudbconnection.DBClasses;
import mudbconnection.DBScores;
import muobject.Classo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


@Component("AccessScoresService")
public class AccessScoresService implements AccessScores{
	
	@Autowired
	private DBScores dbScores;
	
	public int getHWScore(String sex, int age, double height, double weight){
		return dbScores.getHWScore(sex, age, height, weight);
	}
	
	public int getPhysicalScore(String sex, int age, String item, double data){
		return dbScores.getPhysicalScore(sex, age, item, data);
	}
	
	
}
